package com.ruoyi.db.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 登陆信息对象 ml_member_loginsession
 * 
 * @author ruoyi
 * @date 2022-08-02
 */
public class MemberLoginsession extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会话编号 */
    private String token;

    /** 用户uid */
    @Excel(name = "用户uid")
    private Long uid;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNo;

    /** 手机序列号 */
    @Excel(name = "手机序列号")
    private String deviceSerial;

    /** 手机型号 */
    @Excel(name = "手机型号")
    private String mobileType;

    /** 请求的IP */
    @Excel(name = "请求的IP")
    private String reqIp;

    public String getReqChannelName() {
        return reqChannelName;
    }

    public void setReqChannelName(String reqChannelName) {
        this.reqChannelName = reqChannelName;
    }

    private String reqChannelName;




    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    private String channelName;

    public String getReqChannelCode() {
        return reqChannelCode;
    }

    public void setReqChannelCode(String reqChannelCode) {
        this.reqChannelCode = reqChannelCode;
    }

    private String reqChannelCode;

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    private String channelCode;





    public String getDateInfo() {
        return dateInfo;
    }

    public void setDateInfo(String dateInfo) {
        this.dateInfo = dateInfo;
    }

    private String dateInfo;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loginDatetime;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date limitDatetime;

    /** 会话状态 LOGIN 登录中  TIME_OUT超时未登录 LOGIN_OUT 用户登出 EFFECT 失效 */
    @Excel(name = "会话状态 LOGIN 登录中  TIME_OUT超时未登录 LOGIN_OUT 用户登出 EFFECT 失效")
    private String status;

    /**  */
    @Excel(name = "")
    private String loginType;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    public void setToken(String token) 
    {
        this.token = token;
    }

    public String getToken() 
    {
        return token;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setPhoneNo(String phoneNo) 
    {
        this.phoneNo = phoneNo;
    }

    public String getPhoneNo() 
    {
        return phoneNo;
    }
    public void setDeviceSerial(String deviceSerial) 
    {
        this.deviceSerial = deviceSerial;
    }

    public String getDeviceSerial() 
    {
        return deviceSerial;
    }
    public void setMobileType(String mobileType) 
    {
        this.mobileType = mobileType;
    }

    public String getMobileType() 
    {
        return mobileType;
    }
    public void setReqIp(String reqIp) 
    {
        this.reqIp = reqIp;
    }

    public String getReqIp() 
    {
        return reqIp;
    }
    public void setLoginDatetime(Date loginDatetime) 
    {
        this.loginDatetime = loginDatetime;
    }

    public Date getLoginDatetime() 
    {
        return loginDatetime;
    }
    public void setLimitDatetime(Date limitDatetime) 
    {
        this.limitDatetime = limitDatetime;
    }

    public Date getLimitDatetime() 
    {
        return limitDatetime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setLoginType(String loginType) 
    {
        this.loginType = loginType;
    }

    public String getLoginType() 
    {
        return loginType;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("token", getToken())
            .append("uid", getUid())
            .append("phoneNo", getPhoneNo())
            .append("deviceSerial", getDeviceSerial())
            .append("mobileType", getMobileType())
            .append("reqIp", getReqIp())
            .append("loginDatetime", getLoginDatetime())
            .append("limitDatetime", getLimitDatetime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("loginType", getLoginType())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("channelCode", getChannelCode())
            .append("dateInfo", getDateInfo())
            .append("channelName", getChannelName())
            .append("reqChannelCode", getReqChannelCode())
            .toString();
    }
}
